package com.stlm2.quartz;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.InitializingBean;
import org.springframework.stereotype.Component;


@Component
public class InitialData implements InitializingBean {

    private static Logger logger = LoggerFactory.getLogger(InitialData.class);

    @Override
    public void afterPropertiesSet() throws Exception {

        logger.info("start on init : query wechat and allinpay");

        //ping++zhifu
        //orderPayService.pingxxCheckPay(pingxx.getApiKey());

        //fakeUserService.updateUser();

        //处理订单支付
        //goodsOrderService.isPaid(true);

        //处理充值支付
        //moneyRechargeService.isPaid();

        // 处理分销商申请
        //dealerApplyService.isPaid(true);

        // 处理分销商升级
        //dealerRiseApplyService.isPaid(true);

    }
}
